<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Building Ibator from Source</title>
  <link type="text/css" rel="stylesheet" href="../ibator.css"/>
</head>
<body>

<div class="menuNav">
  <p>
    <a href="../index.html" target="_top">Show Menu</a>
    <a href="building.html" target="_top">Hide Menu</a>
  </p>
</div>

<h1>Building Ibator from Source</h1>
<p>All Ibator distributions include source code.  The only compile time dependency Ibator
has is on <code>ant.jar</code> - for successful compilation of the included Ant task.
It is straight forward to compile Ibator from source - simply unzip the source in
an Ibator distribution and compile it with your favorite tool.</p>
<p>The Ibator distribution does not contain the tests that are run during the build,
or other classes that are a necessary part of the build.  If you would like to
inspect those classes, or build Ibator from the very latest version of the source code
at Apache then follow these steps:</p>
<ol>
  <li>Do a SubVersion checkout of the Ibator source tree from the location
    <a target="_blank" href="http://svn.apache.org/repos/asf/ibatis/trunk/java/tools/ibator/core/">
    http://svn.apache.org/repos/asf/ibatis/trunk/java/tools/ibator/core/</a>
    (You may use any SubVersion client you prefer.  We recommend
    <a target="_blank" href="http://tortoisesvn.tigris.org/">TortoiseSVN</a>.)
  </li>
  <li>The build file ony requires that the JAVA_HOME environment variable be defined.
      If it is not already defined on your system, then
      modify the file <code>../build/setupCmdLine.bat</code> to specify
      the proper values on your machine.</li>
  <li>Run the Ant build script by running the batch file <code>../build/build.bat</code>
    from the checked out directory.</li>
</ol>


</body>
</html>
